package b1.scenes
{
	import b1.controls.basic.Clock;
	import b1.net.ResourceHelper;
	import b1.utils.BFont;
	
	import flash.display.Sprite;

	public class Sky extends Sprite
	{
		
		public function Sky(filterChangeBackground:Sprite = null)
		{
			super();
			//背景
			var SkyImage:Class = ResourceHelper.getInstance().getClassByName("Sky");
			var skyBackground:Sprite = new SkyImage();
			skyBackground.width = BFont.stageWidth;
			skyBackground.height = BFont.stageHeight;
			addChild(skyBackground);
			
			//太阳或者月亮
			var sun:Clock = new Clock(skyBackground, filterChangeBackground);
			addChild(sun);
		}
		
	}
}